<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('增值税发票开具申请单打印')" />
	<style type="text/css">
	body {
			overflow-x: auto;
		}
		table {
			font-size: 12px;
			font-weight:500;
			font-family: 线体;
			margin: auto;
	    	border-collapse: collapse;
		}
	    table, tr, td{
		    text-align: center;
		    width: 1100px;
		    height: 40px;
		}
		.items td{ height:30px; border: 1px solid black;}
		
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
<body class="white-bg">
    <table style="margin-top: 0px;">
		<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
	        <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
	    <tr>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
		<tr style="height: 60px;">
			<td><img style="height: 30px" src="/ruoyi.png"></td>
			<td colspan="8" style="font-size: 25px;font-family: 线体;font-weight:500;">湖北鄂能电力建设有限公司-增值税发票开具申请单</td>
		</tr>
	</table>
	<table class="items">
		<tr>
			<td style="width: 10%" ><b>项目名称</b></td>
			<td style="width: 60%;text-align: left;" colspan="6" th:text="${gcProjectSqkp.xmmc}">&nbsp;</td>
<!-- 			<td style="width: 10%" ><b>项目地址</b></td> -->
<!-- 			<td style="width: 20%" colspan="2" th:text="${gcProjectSqkp.xmdz}">&nbsp;</td> -->
			<td style="width: 10%"><b>申请时间</b></td>
			<td style="width: 20%" th:text="${#dates.format(gcProjectSqkp.sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
		</tr>
		<tr>
			<td ><b>项目负责人</b></td>
			<td colspan="3" th:text="${gcProjectSqkp.xmfzr}">&nbsp;</td>
			<td><b>合同金额</b></td>
			<td colspan="2" th:text="${gcProjectSqkp.htje}">&nbsp;</td>
			<td><b>项目类型</b></td>
			<td th:text="${projectType}">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="3"><b>项目信息</b></td>
			<td colspan="2"><b>发票内容</b></td>
			<td colspan="2"><b>建筑项目名称</b></td>
			<td colspan="2"><b>建筑服务发生地</b></td>
			<td><b>税率</b></td>
			<td><b>本次申请开票金额（含税）</b></td>
		</tr>
		<tr>
			<td colspan="2" th:text="${gcProjectSqkp.itemmc}">&nbsp;</td>
			<td colspan="2" th:text="${gcProjectSqkp.pname}">&nbsp;</td>
			<td colspan="2" th:text="${gcProjectSqkp.itemgg}">&nbsp;</td>
			<td ><span th:text="${gcProjectSqkp.itemsl}"></span>%&nbsp;</td>
			<td th:text="${gcProjectSqkp.itemje}">&nbsp;</td>
		</tr>
		<tr>
			<td colspan="2">&nbsp;</td>
			<td colspan="2">&nbsp;</td>
			<td colspan="2">&nbsp;</td>
			<td >&nbsp;</td>
			<td >&nbsp;</td>
		</tr>
		<tr>
			<td  rowspan="3"><b>单位信息</b></td>
			<td><b>名称/税号</b></td>
			<td colspan="7" style="text-align: left;" th:text="${gcProjectSqkp.shuih}">&nbsp;</td>
		</tr>
		<tr>
			<td  ><b>开户行/帐 号</b></td>
			<td  colspan="7" style="text-align: left;" th:text="${gcProjectSqkp.kaihuh}">&nbsp;</td>
		</tr>
		<tr>
			<td><b>地址/电话</b></td>
			<td  colspan="7" style="text-align: left;" th:text="${gcProjectSqkp.dizhi}">&nbsp;</td>
		</tr>
		<tr>
			<td ><b>已开发票时间</b></td>
			<td th:text="${#dates.format(sqkplis[0].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[1].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[2].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[3].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[4].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[5].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td th:text="${#dates.format(sqkplis[6].sqsj, 'yyyy-MM-dd')}">&nbsp;</td>
			<td ><b>合计(累计开票金额)</b></td>
		</tr>
		<tr>
			<td ><b>已开发票金额</b></td>
			<td th:text="${sqkplis[0].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[1].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[2].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[3].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[4].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[5].itemje}">&nbsp;</td>
			<td th:text="${sqkplis[6].itemje}">&nbsp;</td>
			<td th:text="${gcProjectSqkp.hej}">&nbsp;</td>
		</tr>
		<tr>
			<td><b>备注：</b></td>
			<td colspan="8"><span th:text="${gcProjectSqkp.memo}"></span></td>
		</tr>
	</table>
	<table style="margin-top: 15px;">
		<tr>
			<td style="width: 25%;text-align: left;"><b>项目负责人：</b><span th:text="${gcProjectSqkp.xmfzr}"></span></td>
			<td style="width: 25%;text-align: left;"><b>工程复核人：</b><span th:text="${gcProjectSqkp.sqrpr}"></span></td>
			<td style="width: 25%;text-align: left;"><b>总经理批准：</b><span th:text="${gcProjectSqkp.zjlsp}"></span></td>
			<td style="width: 25%;text-align: left;"><b>财务审批人：</b><span th:text="${gcProjectSqkp.cwkpr}"></span></td>
		</tr>
	</table>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
    </script>
</body>
</html>